<?php 

	$group_name    = $this->formText('group_name', $this->data['group_name'], array('class'=>'txtmedium'));
	$avatar        = $this->formFile('avarta', array('style'=>'width: 250px'));
	$ranking       = $this->formFile('ranking',array('style'=>'width: 250px'));
	$options       = array('No','Yes');
	$group_acp     = $this->formRadio('group_acp',0,null,$options, ' ');
	$group_default = $this->formRadio('group_default',0,null,$options, ' ');
	$options       = array('Inactive','Active');
	$status        = $this->formRadio('status',0,null,$options, ' ');
	
	$order         = $this->formText('order',$this->data['order'],array('class'=>'txtshort'));
	
	// select box
	$options       = array(
			                 array('id' => 0, 'name' => 'Full Access', 'level' => 1),
			                 array('id' => 1, 'name' => 'Limit Access', 'level'=> 1)
			              );
	$selectPermission = $this->mySelectBOx('permission', 1, $options);
	
	// form errors
	if(count($this->messageError)>0){
		$errors = $this->formErrors($this->messageError,array('id'=>'errors'));
	}
?>
<form name="appForm" method="post" action="">



                        <?php echo $this->render('group/toolbar/index.php')?>
                        <div class="clr"></div>
                         <?php echo $this->render('group/sublink/index.php')?>
                         <?php echo $errors?>
                        <!-- BEGIN: CONTENT -->
                        <div id="element-box">
                            <div class="t">
                                <div class="t">
                                    <div class="t"></div>
                                </div>
                            </div>
                            <div class="m">
                                <!-- BEGIN: ELEMENT BOX -->
						<div id="adminfieldset">
                             <div class="adminheader">Detail</div>
								
								<div id="row">
                                    <div class="label">Group name:</div>
                                    <?php echo $group_name;?>			
                                </div>
                                <div class="clr"></div>
                             <!-- 
                                <div id="row">
                                    <div class="label">Avatar:</div>
                                    <?php echo $avatar;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Ranking:</div>
                                    <?php echo $ranking;?>			
                                </div>
                                <div class="clr"></div>
                              -->
                                 <div id="row">
                                    <div class="label">Permission:</div>
                                    <?php echo $selectPermission;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Admin Control Panel:</div>
                                    <?php echo $group_acp;?>			
                                </div>
                                <div class="clr"></div>
                                
                                 <div id="row">
                                    <div class="label">Group default:</div>
                                    <?php echo $group_default;?>			
                                </div>
                                <div class="clr"></div>                          
                                
                                <div id="row">
                                    <div class="label">Status:</div>
                                    <?php echo $status;?>			
                                </div>
                                <div class="clr"></div>
                                
                                 <div id="row">
                                    <div class="label">Ordering:</div>
                                    <?php echo $order;?>			
                                </div>
                                <div class="clr"></div>
                                
							</div>
							
                                <!-- END: ELEMENT BOX -->	
                              <div class="clr"></div>
                            </div>
                            <div class="b">
                                <div class="b">
                                    <div class="b"></div>
                                </div>
                            </div>
                        </div>
                        <!-- END: 	CONTENT -->
                    </form>